import { _decorator, Component, director, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('re')
export class re extends Component {
    
    start() {
        this.node.on(Node.EventType.TOUCH_START,this.touchStart,this)
    }

    touchStart(){
        director.loadScene('scene1')
    }

    update(deltaTime: number) {
        
    }
}


